﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DocTypeStatusSummaryCNTUserControl.ascx.cs"
    Inherits="TRIG_MOD_STATUSSUMMARY.DocTypeStatusSummaryCNT.DocTypeStatusSummaryCNTUserControl" %>
<%--<SharePoint:CssRegistration ID="CssRegistration1" Name="/Style Library/TCE/CSS/tce.css"
    runat="server" After="corev4.css" />--%>
<link rel="Stylesheet" type="text/Css" href="/_layouts/TRIG_MOD_STATUSSUMMARY/tce.css" />
<asp:UpdatePanel ID="uptStSumError" runat="server" >
    <ContentTemplate>
        <asp:Label ID="errorMessage" runat="server"></asp:Label>
    </ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel4" runat="server">
    <ContentTemplate>
        <table>
            <tr>
                <td>
                    <asp:DropDownList ID="ddlDocsTypes" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="x" runat="server">
    <ContentTemplate>
        <asp:RadioButtonList ID="rdDates" runat="server" RepeatDirection="Horizontal" OnSelectedIndexChanged="SelectedIndexChanged"
            AutoPostBack="true">
            <asp:ListItem Value="1">Between Dates</asp:ListItem>
            <asp:ListItem Selected="True" Value="0">As of Today</asp:ListItem>
        </asp:RadioButtonList>
    </ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="uptDate" runat="server">
    <ContentTemplate>
        <table>
            <tr>
                <td>
                    <SharePoint:DateTimeControl ID="stDate" runat="server" DateOnly="true" />
                </td>
                <td>
                    <SharePoint:DateTimeControl ID="endDate" runat="server" DateOnly="true" Visible="false" />
                </td>
                <asp:CompareValidator ID="valDates" runat="server" ForeColor="Red" ControlToValidate="stDate$stDateDate"
                    ControlToCompare="endDate$endDateDate" Type="Date" Operator="LessThanEqual" ErrorMessage="Start date should be less than end date"></asp:CompareValidator>
        </table>
    </ContentTemplate>
    <Triggers>
        <asp:PostBackTrigger ControlID="rdDates" />
    </Triggers>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <table>
            <tr>
                <td>
                    <asp:Button ID="btnProcess" runat="server" Text="Get Summary" OnClick="btnProcess_Click" />
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>


    
    <asp:UpdatePanel ID="UpdatePanel3" runat="server">
    <ContentTemplate>
        <asp:UpdateProgress ID="upMain1" runat="server" AssociatedUpdatePanelID="uptStSumGrid">
            <ProgressTemplate>
                <center>
                    <img src="/_layouts/images/loading.gif" alt="Loading..." />Loading...</center>
            </ProgressTemplate>
        </asp:UpdateProgress>
        <br />
    </ContentTemplate>
</asp:UpdatePanel>

<asp:UpdatePanel ID="uptStSumGrid" runat="server">
    <ContentTemplate>
        <asp:GridView ID="stSumGrid" runat="server" AutoGenerateColumns="true" AllowPaging="True"
            AlternatingRowStyle-CssClass="alt" CommandRowStyle-CssClass="ftr" CssClass="grid"
            EditRowStyle-CssClass="EditRowStyle" EnableModelValidation="True" FieldHeaderStyle-CssClass="hdr"
            GridLines="None" PagerStyle-CssClass="pgr" PageSize="10" RowStyle-CssClass="mGridRowStyle"
            SelectedRowStyle-CssClass="SelectedRowStyle">
        </asp:GridView>
    </ContentTemplate>
</asp:UpdatePanel>

<asp:UpdatePanel ID="UpdatePanel2" runat="server">
    <ContentTemplate>
        <table>
            <tr>
                <td>
                    <asp:Label ID="lblr1" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lbl_R1" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblr2" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lbl_R2" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblr3" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lbl_R3" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblr4" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lbl_R4" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblr5" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lbl_R5" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
